<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script>
    // let result = 0
    // for(let i = 100;i <= 200;i++){
    //     if(i % 3 == 0 ){
    //         result = i
    //         break
    //     }
    // }
    // let arr = new Array()
    // arr = [111,22.2,'hu',90]
    // console.log(typeof(arr))
    // arr = 22
    // console.log(typeof(arr))
    // let arr2 = [1,2,3,4,'sido']
    // console.log(arr2)
    // console.log(arr2[3])
    // console.log(arr2[7])
    // console.log(arr2)
    // console.log(typeof(arr2))

    // let arr3 = new Array()
    // arr3 = [1,2,3,4]
    // console.log(arr3.length)
    // arr3.length = 10
    // console.log(arr3.length)
    // arr3[8] = 9
    // console.log(arr3)
    let arr4 = new Array()
    for(i = 0;i < 10;i++){
        arr4[i] = i
    }
    // console.log(arr4)
    // console.log(arr4.length)
    let new_array = new Array()
    for(i = 0;i < arr4.length;i++){
        new_array.push(arr4[i])
    }
    console.log(new_array)
    new_array.splice(1,1)
    console.log(new_array)
</script>
</html>